<div class="teacher-item">
    <div
        class="<%= (i+1) %2 === 0 ? 'img-wrap last': 'img-wrap' %> "
    ></div>
</div>